package com.atguigu.gulimail.member.web.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;
@Component
@FeignClient("gulimail-order")
public interface OrderFeign {

    @PostMapping("order/order/memberListOrderAndItem")
    R listOrder(@RequestBody Map<String,Object> params);

}
